package com;

import com.cquprt.Tcp.TcpTransitMsgByte;
import com.cquprt.Tcp.TcpTransitMsgString;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 功能：建模测试
 */
@SpringBootApplication
public class ModelingApplication {

    public static void main(String[] args) {
        SpringApplication.run(ModelingApplication.class, args);
//        TcpTransitMsgByte.transitMsg("",6600);
//        TcpTransitMsgString.transitMsg("10.16.72.17",4446);
        new Thread(() -> TcpTransitMsgString.transitMsg("10.16.66.58",9000)).start();
        new Thread(() -> TcpTransitMsgString.transitMsg("10.16.66.58",9000)).start();
        new Thread(() -> TcpTransitMsgString.transitMsg("10.16.66.58",9000)).start();
        new Thread(() -> TcpTransitMsgString.transitMsg("10.16.66.58",9000)).start();

//        new Thread(() -> TcpTransitMsgString.transitMsg("",4444)).start();
//        new Thread(() -> TcpTransitMsgString.transitMsg("",4444)).start();
    }
}
